package com.a;

public class h {
    public static void main(String[] args) {

        fire();
        fire("蚂蚁");
        fire("小日子",100);


    }
    public static void fire()
    {
        fire("漂亮国");
      //  System.out.println("发射一枚核导弹给~~");

    }
    public static void fire(String country)
    {
       fire(country,1);
    }
    public static void fire(String country,int number)
    {
        System.out.println("发射"+number+"枚核导弹给"+country+"~~");
    }

}
